<html lang="zh-CN">

<head lang="en">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>购买成功</title>
    <link rel="stylesheet" href="js/jquery/jquery.mobile-1.4.5.min.css" />

    <link href="css/total/index.css" rel="stylesheet">
</head>

<body>
    <div data-role="page" id="paysucess">
        <div>
            <div data-role="none" class="paysucess_head"></div>
            <a href="#member"><img class="paysucess_img" src="img/%E5%A4%B4%E5%83%8F.png" width="75px"></a>
        </div>
        <!--         <div class="paysucess_body"></div>-->
        <div class="paysucess_body_top">
            <h3 class="paysucess_font" id="message"></h3>
            <table border="0">
                <tr>
                    <th>
                        <h3 class="paysucess_font1"><h id="start"></h></h3></th>
                    <th><img src="img/change.png" width="30" class="paysucess_change"></th>
                    <th>
                        <h3 class="paysucess_font2"><h id="end"></h></h3></th>
                </tr>
            </table>
            <h3 class="paysucess_font3">张数：<h id="num"></h>张</h3>
            <h3 class="paysucess_font3">使用日期：<h id="data"></h></h3>

            <div data-role="none">
                <a data-role="none" href="disilicide.html" class="paysucess_button">取票</a>
            </div>
            <div data-role="none">
                <a data-role="none" href="buy%20ticket.html" class="paysucess_button">继续购票</a>
            </div>
            <div data-role="none">
                <a data-role="none" href="myticket.html" class="paysucess_button">查看</a>
            </div>
        </div>
    </div>

    <script src="js/jquery/jquery-1.12.0.min.js"></script>
    <script src="js/jquery/jquery.mobile-1.4.5.min.js"></script>

    <script>
        $(function() {
            $.post(
                "function/paysuccess.php", {
                    city: 1
                },
                function(data) {
                    $('#message').text(data.message);
                    $('#start').text(data.start);
                    $('#end').text(data.end);
                    $('#num').text(data.num);
                    $('#data').text(data.data);
                }, 'json'
            );
        });

    </script>
</body>

</html>
